package com.hulk.dryad.manage.security.component;

import lombok.Data;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author hulk
 * @date 2019/4/13
 * <p>
 * 资源服务器对外直接暴露URL,如果设置contex-path 要特殊处理
 */
@Component
@Data
@ConditionalOnExpression("!'${security.permit-all.ignore-urls}'.isEmpty()")
@ConfigurationProperties(prefix = "security.permit-all")
public class PermitAllSecurityUrlProperties  {



	private List<String> ignoreUrls = new ArrayList<>();



}
